package com.backend.securitiessystem.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 新股dto类
 *
 * @author tuyufeng
 * @date 2024/05/19
 */
@Data
public class NewShareDto implements Serializable {

    @ApiModelProperty("新股名称")
    private String name;

    @ApiModelProperty("上市日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date listingDate;

    private static final long serialVersionUID = 1L;
}